SureCart\Models\Product S

Total Complexity 39
Dependencies 10
Dependents 23
Total lines 363
Lines of code 167
Logical lines of code 65
Comment lines 151
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
getFirstVariantWithStock()
S
62 4 12
activePrices()
S
56 3 20
getTemplateIdAttribute()
S
65 4 9
getPermalinkAttribute()
S
64 3 9
getImageUrl()
S
70 3 6
getJsonSchemaArray()
S
52 1 26
withActiveAndSortedPrices()
S
59 1 18
create()
S
65 2 9
getTemplatePartIdAttribute()
S
71 2 6
getImageSrcsetAttribute()
S
71 2 6
getTemplateContent()
S
73 2 5
getCheckoutPermalinkAttribute()
S
81 1 3
getMetaDescriptionAttribute()
S
80 1 3
buyLink()
S
80 1 3
getFeaturedMediaAttribute()
S
66 1 8
setProductMediasAttribute()
S
79 1 3
setPurchaseAttribute()
S
79 1 3
setVariantsAttribute()
S
79 1 3
setProductCollectionsAttribute()
S
79 1 3
getTemplateAttribute()
S
80 1 3
setPricesAttribute()
S
79 1 3
getTemplatePartAttribute()
S
79 1 3
getPageTitleAttribute()
S
80 1 3